package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日检信息对象 sft_daily_check
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class SftDailyCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司ID */
    @Excel(name = "公司ID")
    private String companyId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private String vehicleId;

    /** 驾驶员ID */
    @Excel(name = "驾驶员ID")
    private String driverId;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 事故时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事故时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOfCasualty;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 处罚结果 */
    @Excel(name = "处罚结果")
    private String penaltyResult;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setVehicleId(String vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public String getVehicleId() 
    {
        return vehicleId;
    }
    public void setDriverId(String driverId) 
    {
        this.driverId = driverId;
    }

    public String getDriverId() 
    {
        return driverId;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setTimeOfCasualty(Date timeOfCasualty) 
    {
        this.timeOfCasualty = timeOfCasualty;
    }

    public Date getTimeOfCasualty() 
    {
        return timeOfCasualty;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setPenaltyResult(String penaltyResult) 
    {
        this.penaltyResult = penaltyResult;
    }

    public String getPenaltyResult() 
    {
        return penaltyResult;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("vehicleId", getVehicleId())
            .append("driverId", getDriverId())
            .append("checkDate", getCheckDate())
            .append("timeOfCasualty", getTimeOfCasualty())
            .append("state", getState())
            .append("penaltyResult", getPenaltyResult())
            .append("memo", getMemo())
            .toString();
    }
}
